EventEmitterImpl

class EventEmitterImpl(sendEventFunction: (name: String, body: Any?) -> Unit, val hasListeners: StateFlow<Boolean>) : EventEmitter

Constructors

Link copied to clipboard
fun EventEmitterImpl(sendEventFunction: (name: String, body: Any?) -> Unit, hasListeners: StateFlow<Boolean>)

Functions

Link copied to clipboard
open override fun sendEvent(eventName: String)
open override fun <T> sendEvent(eventName: String, params: T)

Properties

Link copied to clipboard
open override val hasListeners: StateFlow<Boolean>